testsuite/a11y: Add common_cflags to build
authorTimm Bäder <mail@baedert.org>
Fri, 6 Mar 2020 17:19:24 +0000 (18:19 +0100)
committerTimm Bäder <mail@baedert.org>
Fri, 6 Mar 2020 17:22:01 +0000 (18:22 +0100)
testsuite/a11y/accessibility-dump.c
testsuite/a11y/meson.build

index ff2afff5c5ddef0c685a1dd61da65d4670463937..422d1504149bff219d0871dc9df9d20a6f434d86 100644 (file)
@@ -301,8 +301,6 @@ dump_text_attributes (GString         *string,
   atk_attribute_set_free (attributes);
 }
 
-extern GType atk_layer_get_type (void);
-
 static const gchar *
 layer_name (AtkLayer layer)
 {
index 94c48c9cf34846685b8f764b2705d91323813899..cfb45562cfdc74cad153fa5f3bb3a0b9b4ee7bb5 100644 (file)
@@ -41,6 +41,7 @@ a11y_state_tests = [
 
 a11y_dump_bin = executable('accessibility-dump',
   'accessibility-dump.c',
+  c_args: common_cflags,
   dependencies: libgtk_dep,
   install: get_option('install-tests'),
   install_dir: testexecdir,